package com.kk.nb_order.remote;

import com.woniuxy.boot.common.bean.EsOrder;
import com.woniuxy.boot.common.dto.EsOrderSearchDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author: K
 * @Date: 2024/12/18
 */
@FeignClient("nb-search")
public interface SearchService {

    @PostMapping("orderSearch/get")
     List<EsOrder> getEsOrder(@RequestBody EsOrderSearchDTO esOrderSearchDTO);
}
